Skip to content

Commit 53f2b32

Browse files
authored
Import of v0.35.0 (#2188)
1 parent d133f70 commit 53f2b32

21 files changed

+871
-442
lines changed
File renamed without changes.

CHANGES.md

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,50 @@
33

44
All notable changes to this program are documented in this file.
55

6+
## 0.35.0 (2024-08-06, `9f0a0036bea4`)
7+
8+
### Known problems
9+
10+
- _Startup hang with Firefox running in a container (e.g. snap, flatpak):_
11+
12+
When Firefox is packaged inside a container (like the default Firefox browser
13+
shipped with Ubuntu 22.04), it may see a different filesystem to the host.
14+
This can affect access to the generated profile directory, which may result
15+
in a hang when starting Firefox. Workarounds are listed in the geckodriver
16+
[usage documentation].
17+
18+
### Added
19+
20+
- Support for [Permissions] that allow controlling permission prompts
21+
within the browser. This enables automated tests to handle scenarios
22+
involving permissions like `geolocation`, `notifications`, and more.
23+
24+
- The command line flag `--enable-crash-reporter` has been added, to allow
25+
the crash reporter in Firefox to automatically submit crash reports to
26+
Mozilla's crash reporting system if a tab or the browser itself crashes.
27+
28+
Note that this feature is disabled by default and should only be used when a
29+
crash situation needs to be investigated. See our documentation for
30+
[crash reports] in how to share these with us.
31+
32+
### Changed
33+
34+
- The validation of the `unhandledPromptBehavior` capability has been enhanced
35+
to support finer configuration options for the [User Prompt Handler] which
36+
are particularly used by [WebDriver BiDi].
37+
38+
### Fixed
39+
40+
- The [Switch To Frame] command now correctly raises an "invalid argument"
41+
error when the `id` parameter is missing.
42+
43+
### Removed
44+
45+
- Removed support for session negotiation using the deprecated
46+
`desiredCapabilities` and `requiredCapabilities`.
47+
- Removed support for the `moz:useNonSpecCompliantPointerOrigin` capability,
48+
which has not bee supported since Firefox 116.
49+
650
## 0.34.0 (2024-01-03, `c44f0d09630a`)
751

852
### Known problems
@@ -343,7 +387,7 @@ All notable changes to this program are documented in this file.
343387

344388
### Added
345389

346-
- Support for WebDriver clients to opt in to WebDriver BiDi.
390+
- Support for WebDriver clients to opt in to [WebDriver BiDi].
347391

348392
Introduced the new boolean capability [`webSocketUrl`] that can be used by
349393
WebDriver clients to opt in to a bidirectional connection. A string capability
@@ -382,7 +426,7 @@ All notable changes to this program are documented in this file.
382426
- Arguments as specified in [`moz:firefoxOptions`] are now used when starting
383427
Firefox.
384428

385-
- Port forwards set for Marionette and the WebSocket server (WebDriver BiDi)
429+
- Port forwards set for Marionette and the WebSocket server ([WebDriver BiDi])
386430
are now correctly removed when geckodriver exits.
387431

388432
- The test root folder is now removed when geckodriver exists.
@@ -1792,7 +1836,7 @@ and greater.
17921836

17931837
- Fix Get Element Rect command to return floats instead of integers
17941838

1795-
- Fix passing of web elements to Switch To Frame command
1839+
- Fix passing of web elements to [Switch To Frame] command
17961840

17971841
- Fix serialisation of script commands
17981842

@@ -1806,6 +1850,7 @@ and greater.
18061850
- Squash compile warnings
18071851

18081852
[README]: https://github.com/mozilla/geckodriver/blob/master/README.md
1853+
[crash reports]: <https://firefox-source-docs.mozilla.org/testing/geckodriver/CrashReports.html>
18091854
[usage documentation]: <https://firefox-source-docs.mozilla.org/testing/geckodriver/Usage.html#Running-Firefox-in-an-container-based-package>
18101855
[Browser Toolbox]: https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox
18111856
[WebDriver conformance]: https://wpt.fyi/results/webdriver/tests?label=experimental
@@ -1879,9 +1924,15 @@ and greater.
18791924
[Set Timeouts]: https://w3c.github.io/webdriver/webdriver-spec.html#set-timeouts
18801925
[Set Window Rect]: https://w3c.github.io/webdriver/webdriver-spec.html#set-window-rect
18811926
[Status]: https://w3c.github.io/webdriver/webdriver-spec.html#status
1927+
[Switch to Frame]: https://w3c.github.io/webdriver/#dfn-switch-to-frame
18821928
[Take Element Screenshot]: https://w3c.github.io/webdriver/webdriver-spec.html#take-element-screenshot
1929+
[User Prompt Handler]: https://w3c.github.io/webdriver/#user-prompt-handler
18831930
[WebDriver errors]: https://w3c.github.io/webdriver/webdriver-spec.html#handling-errors
18841931

1932+
[WebDriver BiDi]: https://w3c.github.io/webdriver-bidi/
1933+
1934+
[Permissions]: https://www.w3.org/TR/permissions/#automation-webdriver-bidi
1935+
18851936
[Virtual Authenticators]: https://www.w3.org/TR/webauthn-2/#sctn-automation
18861937
[Add Credential]: https://www.w3.org/TR/webauthn-2/#add-credential
18871938
[Add Virtual Authenticator]: https://www.w3.org/TR/webauthn-2/#add-virtual-authenticator

0 commit comments

Comments
 (0)